package com.cyc.basic.test.json;

import com.alibaba.fastjson.JSONObject;
import com.cyc.basic.test.other.JrttAudiencePackage;

public class JsonTest2 {
    public static void main(String[] args) {
        JrttAudiencePackage jrttAudiencePackage = new JrttAudiencePackage();
        jrttAudiencePackage.setAudience("{\"auto_extend_enabled\":0,\"ac\":[\"WIFI\",\"4G\"],\"auto_extend_targets\":[],\"city\":[11,12,13,14,15,21,22,23,31,32,33,34,35,36,37,41,42,43,44,45,46,50,51,52,53,61,62,63,64],\"district\":\"CITY\",\"app_ids\":[],\"app_category\":[10005],\"interest_action_mode\":\"RECOMMEND\",\"platform\":[\"ANDROID\"],\"location_type\":\"HOME\"}");
        JSONObject audienceJsonObject = JSONObject.parseObject(jrttAudiencePackage.getAudience());
        System.out.println(audienceJsonObject);
    }
}
